package com.xnyzc.lhy.mis.service.impl.cms.workorder;

import com.xnyzc.lhy.common.entity.Rv;
import com.xnyzc.lhy.common.penum.EErrorCode;
import com.xnyzc.lhy.common.util.TokenUtil;
import com.xnyzc.lhy.mis.service.cms.workorder.CmsWorkOrderService;
import org.springframework.stereotype.Service;

/**
 * 工单
 * @author zhaolijie
 * @date
 */
@Service
public class CmsWorkOrderServiceImpl implements CmsWorkOrderService {

    /**
     * 获取登录系统的UserId
     * @return
     */
    @Override
    public Rv getSystemUserId() {
        long tokenUserId = TokenUtil.getTokenUserId();
        return Rv.wrap(EErrorCode.success, tokenUserId);
    }

}
